<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-site_id" class="control-label col-xs-12 col-sm-2">{:__('Site_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-site_id" data-rule="required"  data-source="articlecates/selectpage"  data-params='{"custom[type]":"1"}'  class="form-control selectpage" name="row[site_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>

    <!--<div class="form-group">-->
        <!--<label for="c-littitle" class="control-label col-xs-12 col-sm-2">{:__('Littitle')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-littitle" class="form-control" name="row[littitle]" type="text">-->
        <!--</div>-->
    <!--</div>-->

    <!--<div class="form-group">-->
        <!--<label for="c-litpic" class="control-label col-xs-12 col-sm-2">{:__('Litpic')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-litpic" class="form-control" name="row[litpic]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-flag" class="control-label col-xs-12 col-sm-2">{:__('Flag')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-flag" class="form-control" name="row[flag]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-source" class="control-label col-xs-12 col-sm-2">{:__('Source')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-source" class="form-control" name="row[source]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-publish" class="control-label col-xs-12 col-sm-2">{:__('Publish')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-publish" class="form-control" name="row[publish]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-is_jump" class="control-label col-xs-12 col-sm-2">{:__('Is_jump')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-is_jump" class="form-control" name="row[is_jump]" type="text">-->
        <!--</div>-->
    <!--</div>-->

    <div class="form-group">
        <label for="c-jumpurl" class="control-label col-xs-12 col-sm-2">{:__('Jumpurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jumpurl" class="form-control" name="row[jumpurl]" type="text">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label for="c-summary" class="control-label col-xs-12 col-sm-2">{:__('Summary')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-summary" class="form-control" name="row[summary]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-province" class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-province" class="form-control" name="row[province]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-city" class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-city" class="form-control" name="row[city]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-area" class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-area" class="form-control" name="row[area]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control summernote" rows="5" name="row[content]" cols="50"></textarea>
        </div>
    </div>

    <!--<div class="form-group">-->
        <!--<label for="c-hits" class="control-label col-xs-12 col-sm-2">{:__('Hits')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-hits" data-rule="required" class="form-control" name="row[hits]" type="number" value="0">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-comment" class="control-label col-xs-12 col-sm-2">{:__('Comment')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-comment" data-rule="required" class="form-control" name="row[comment]" type="number" value="0">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-is_comment" class="control-label col-xs-12 col-sm-2">{:__('Is_comment')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-is_comment" class="form-control" name="row[is_comment]" type="text">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-user_id" class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-addtime" class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:date('Y-m-d H:i:s')}">-->
        <!--</div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
        <!--<label for="c-addip" class="control-label col-xs-12 col-sm-2">{:__('Addip')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-addip" class="form-control" name="row[addip]" type="text">-->
        <!--</div>-->
    <!--</div>-->
<div class="form-group">
        <label for="c-author" class="control-label col-xs-12 col-sm-2">{:__('Author')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-author" class="form-control" name="row[author]" type="text">
        </div>
    </div>
    
    <div class="form-group">
        <label for="c-weigh" class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-is_open" data-rule="required" class="form-control selectpicker" name="row[status]">
                {foreach name="statusList" item="vo"}
                <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
